package com.project.bean;

import java.time.LocalDate;

public class UserBean {
    private Integer id;
    private String name;
    private String pwd;
    private String grade;
    private LocalDate birthday;

    public UserBean(String name, String pwd, String grade, LocalDate birthday) {
        this.name = name;
        this.pwd = pwd;
        this.grade = grade;
        this.birthday = birthday;
    }

    public UserBean() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", grade='" + grade + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
